package model;

/**
 * @author Alexander Shidlovsky
 */
public class Process {
    private String name;
    private long minTime, idealTime, maxTime;
    private ProcessType processType;

    public Process(String name, long minTime, long idealTime, long maxTime,
	    ProcessType processType) {
	this.name = name;
	this.minTime = minTime;
	this.idealTime = idealTime;
	this.maxTime = maxTime;
	this.processType = processType;
    }

    public ProcessType getProcessType() {
	return processType;
    }

    public void setProcessType(ProcessType processType) {
	this.processType = processType;
    }

    public String getName() {
	return name;
    }

    public void setName(String name) {
	this.name = name;
    }

    public long getMinTime() {
	return minTime;
    }

    public void setMinTime(long minTime) {
	this.minTime = minTime;
    }

    public long getIdealTime() {
	return idealTime;
    }

    public void setIdealTime(long idealTime) {
	this.idealTime = idealTime;
    }

    public long getMaxTime() {
	return maxTime;
    }

    public void setMaxTime(long maxTime) {
	this.maxTime = maxTime;
    }

    @Override
    public String toString() {
	return name;
    }
}
